<template>
  <div>
    <button @click="show = false">销毁</button>
    <my-box v-if="show"/>
  </div>
</template>

<script>
import MyBox from './components/MyBox.vue'
export default {
  components: {
    MyBox
  },
  data() {
    return {
      show: true
    }
  },
}
</script>

<style></style>
